﻿extends layout_main
block selfQuote
  link(rel='stylesheet',href="/stylesheets/main.css")

mixin tableTH(titles)
  tr
    each title in titles
      th= title

block body
  .body_resize
    .left
      h2 我的审批
      table.table_form.table_formicon(width="100%",border="0",cellpadding="0",cellspacing="1")
        tbody
          +tableTH(['员工','申请编号','流程类型','申请时间','同意','拒绝'])
          each item in myApproval
            tr
              td= item.EmployeeNo
              td= item.ApplicationNO
              td= item.TaskType
              td= item.CreateTime
              td: a(href="#"): span.icons.icon_check
              td: a(href="#"): span.icons.icon_plus
      br
      h2 我的申请
      table.table_form(width="100%",border="0",cellpadding="0",cellspacing="1")
        tbody
          +tableTH(['流程类型','申请状态','申请时间','查看'])
          each item in myApplication
            tr
              td= item.TaskType
              td= item.Status
              td= item.CreateTime
              td: a(href="#"): span.icons.icon_search
    .right
      h2 个人信息
      img(src="/images/head_portrait.jpg",alt="picture",width="150",height="75")
      p
        strong 员工号：#{user.EmployeeNo}
        br
        strong 姓名：#{user.ChineseName}
        br
        strong 职位：#{user.PositionName}
        br
        em: span 更新于#{UpdateTime}-
        a(href="#") more
      br
      h2 友情链接
      .friendly_div
        img(src="/images/simple_img_1.jpg",alt="picture",width="160",height="50")
        span 在线学习
      .friendly_div
        img(src="/images/simple_img_2.jpg",alt="picture",width="160",height="50")
        span 内部招聘
    .clr
